//
//  SectionViewTwo.m
//  ProjectA_LK
//
//  Created by 萌萌的小坤坤 on 16/6/16.
//  Copyright © 2016年 冷坤. All rights reserved.
//

#import "SectionViewTwo.h"

@implementation SectionViewTwo

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatSubView:frame];
    }
    return self;
}

- (void)creatSubView:(CGRect)frame{
    UILabel *labelOne= [[UILabel alloc] initWithFrame:CGRectMake(20, 5,self.frame.size.width / 2 , 20)];
    labelOne.text = @"精选专题";
    labelOne.font = [UIFont systemFontOfSize:15];
    [self addSubview:labelOne];
    [labelOne release];
    
    UILabel *labelTwo = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width / 2, 5, self.frame.size.width / 2 - 10, 20)];
    labelTwo.font = [UIFont systemFontOfSize:15.0];
    labelTwo.text = @"更多❤️";
    labelTwo.textAlignment = 2;
    [self addSubview:labelTwo];
    [labelTwo release];
}


@end
